package com.ljz.dao;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * Created by jiazhang on 2017/4/12.
 */

@Component
@ConfigurationProperties(prefix = "Orders")
public class OrdersProperties {

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getOstate() {
        return ostate;
    }

    public void setOstate(String ostate) {
        this.ostate = ostate;
    }

    public Double getOsummoney() {
        return osummoney;
    }

    public void setOsummoney(Double osummoney) {
        this.osummoney = osummoney;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    private Integer oid;
    private Date odatetime;

    public Date getOdatetime() {
        return odatetime;
    }

    public void setOdatetime(Date odatetime) {
        this.odatetime = odatetime;
    }

    private String ostate;
    private Double osummoney;
    private Integer cid;
}
